package org.empire.model;

import java.util.ArrayList;
import java.util.List;

public class Category {
	
	private String name;
	private List<Post> posts = new ArrayList<Post>();

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<Post> getPosts() {
		return posts;
	}

	public void addPost(Post post) {
		this.getPosts().add(post);
	}
	
	

}
